package com.ghsc.ghxc.jsb.ui.message.bean

import com.cn.appcore.utils.GsonUtil

/**
 * 项目：GuoHuaJsb
 * 包名：com.ghsc.ghxc.jsb.ui.message.bean
 * 类名：MsgDataBean
 * 创建时间：2024/5/7 17:16
 * 创建人 @author： xiaolin
 * 描述 ：Todo...
 */
data class ImSysCustOrderBean(
    val title: String,
    val value: Double,
)


data class ChatDataResult(
    val `data`: Data,
    val list: List<ChatDataResultBean>
)
data class Data(
    val jifen: Double,
    val price: Double,
    val tips: String
)
data class ChatDataResultBean(
    val headimg: String,
    val ifingroup: Int,
    val ifzhaoshang: Int,
    val level: Int,
    val nickname: String,
    var status: Int,
    var isClick:Boolean=false,
    var isCheck:Boolean=false,
    val statusch: String,
    val uid: String,
    val gid:String,
    val tid:String,
    val usercnt:Int,
    val shenhecnt:String,
    val name:String,
    val isHave:Boolean,

)

data class ChatGroupExtBean(
    val gid:String,
    val tid:String,
){
    fun getChatGroupExtBean(json:String): ChatGroupExtBean {
        return GsonUtil.GsonToJsonClass(json,ChatGroupExtBean::class.java)
    }
}



data class GroupUserInfoResult(
    val `data`: GroupUserInfoDataBean,
    val list: List<Any>
)

class Tk

data class GroupUserInfoDataBean(
    val headimg: String,
    val nickname: String,
    val cansay:Int=-1,
    val roles: Int ,// 群里角色 9 群主 8管理员 0 普通用户
    val level:Int=-1,
    val cansixin:Int=-1,
    val code:String,
    val iffriend:Int,
    val ifgroup:Int,
    val tags: List<Tag>,
    val agent: List<Agent>
//    List<TeamUserInfoBeanResultDataTags>? tags;
//    List<TeamUserInfoBeanResultDataAgent>? agent;
)
data class Tag(
    val id : Int,
    val title : String,
    val image: String,
    val width: Int,
    val height: Int,
    val status: Int,
    val view_type: String,
    val remark: String,
    val rank : Int,
)

data class Agent(
    val name: String,
    val agent_level: Int,
    val open_status : Int,
)




data class GetUserInfoResult(
    val `data`: GetUserInfoData,
    val list: List<Any>
)

data class GetUserInfoData(
    val code: String,
    val headimg: String,
    val iffriend: Int,
    val level: Int,
    val nickname: String,
    val uid: String
)

data class GroupDataResult(
    val `data`: GroupDataResultBean,
    val list: List<GroupDataResultBeans>
)

data class GroupDataResultBean(
    val gid: String,
    val gonggao: String,
    val headimg: String,
    val name: String,
    val usercnt: Int,
    val cansay:Int,
    val cansixin:Int,
    val is_add_friend:Int,
    val classify_id:Int,
    val classify:String
)

data class GroupDataResultBeans (
    val headimg: String="",
    val nickname: String="",
    val status:Int=0,
    val roles:Int=0,
    val uid:String="",
    val level:Int =-1,
    var isCheck:Boolean=false,
    val ifzhaoshang:Int =-1,

    )

data class SearchChatDataBean(
    val classify_id: Int,
    val gid: String,
    val gonggao: String,
    val headimg: String,
    val isHave: Boolean,
    val name: String,
    val title: String,
    val usercnt: Int,
    val maxcnt :Int,
    var isClick :Boolean =false,


    val level: Int,
    val nickname: String,
    val uid: String,



    val agent: Agent,
    val area: String,
    val city: String,
    val province: String,
    val tags: List<Tag>,

    )

class GroupTypeList : ArrayList<GroupTypeItem>()

data class GroupTypeItem(
    val checked_icon: String,
    val classify_id: Int,
    val title: String,
    val un_checked_icon: String,
    var isSelect:Boolean=false,
    var isShow:Boolean,
    var is_official :Boolean,
)
data class UserRyResult(
    val `data`: UserRyResultData,
    val list: List<Any>,

    )

data class UserRyResultData(
    val headimg: String,
    val uid: String,
    val gid:String,
    val tid:String,
    val nickname: String,
    val name:String,
    val code:String="",
    val level:Int=-1,
    val iffriend:Int=0,
    val is_add_friend :Int,
    val tags: List<Tag>,
    val agent: List<Agent>

)



data class ImSendGifResult(
    val `data`: ImSendGifData,
    val list: List<Any>
)


data class ImSendGifData(
    val gid: Int,
    val jifen: Double,
    val tuid: String,
    val txid: String,
    val uid: String
)